package com.snake.springboot.custom.api.service.base;

import com.snake.springboot.custom.api.model.base.CustPointsFreezeModel;
import com.snake.springboot.custom.api.model.base.CustPointsModel;
import com.snake.springboot.custom.api.model.points.PointsChangeModel;
import com.snake.springboot.custom.api.request.base.CustomReq;

public interface CustPointsService{

    void addPoints(CustomReq customReq);

    void add(PointsChangeModel model);

    void reduce(PointsChangeModel model);

    void freeze(CustPointsFreezeModel model);

    void thaw(CustPointsFreezeModel model);

    Boolean reduceFreeze(CustPointsFreezeModel model);

    CustPointsModel queryById(String customId);

    void expire(PointsChangeModel model);

}
